package com.ruoyi.ftrl.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 房间信息对象 room_info
 * 
 * @author dihang
 * @date 2024-07-08
 */
public class RoomInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 所属片区id */
    @Excel(name = "所属片区id")
    private Long areaId;

    /** 所属片区 */
    @Excel(name = "所属片区")
    private String areaName;

    /** 所属热力站id */
    @Excel(name = "所属热力站id")
    private Long heatId;

    /** 所属热力站 */
    @Excel(name = "所属热力站")
    private String heatName;

    public void setAreaId(Long areaId)
    {
        this.areaId = areaId;
    }

    public Long getAreaId()
    {
        return areaId;
    }
    public void setAreaName(String areaName)
    {
        this.areaName = areaName;
    }

    public String getAreaName()
    {
        return areaName;
    }
    public void setHeatId(Long heatId)
    {
        this.heatId = heatId;
    }

    public Long getHeatId()
    {
        return heatId;
    }
    public void setHeatName(String heatName)
    {
        this.heatName = heatName;
    }

    public String getHeatName()
    {
        return heatName;
    }

    /** 房间编号 */
    private String roomNo;

    /** 机组 */
    private String crew;

    /** 采暖方式 */
    private String heatWay;

    /** 建筑类型 */
    private String buildingType;

    /** 户型 */
    private String homeType;

    public String getCrew() {
        return crew;
    }

    public void setCrew(String crew) {
        this.crew = crew;
    }

    public String getHeatWay() {
        return heatWay;
    }

    public void setHeatWay(String heatWay) {
        this.heatWay = heatWay;
    }

    public String getBuildingType() {
        return buildingType;
    }

    public void setBuildingType(String buildingType) {
        this.buildingType = buildingType;
    }

    public String getHomeType() {
        return homeType;
    }

    public void setHomeType(String homeType) {
        this.homeType = homeType;
    }

    /** 主键id */
    private Long id;

    /** 所属部门id */
    @Excel(name = "所属部门id")
    private Long deptId;

    /** 所属部门 */
    @Excel(name = "所属部门")
    private String dept;

    /** 所属小区id */
    @Excel(name = "所属小区id")
    private Long communityId;

    /** 所属小区名称 */
    @Excel(name = "所属小区名称")
    private String communityName;

    /** 所属楼栋id */
    @Excel(name = "所属楼栋id")
    private Long buildingId;

    /** 所属楼栋名称 */
    @Excel(name = "所属楼栋名称")
    private String buildingName;

    /** 单元名称 */
    @Excel(name = "单元名称")
    private String unitName;

    /** 门牌号 */
    @Excel(name = "门牌号")
    private String houseNumber;

    /** 建筑面积 */
    @Excel(name = "建筑面积")
    private String area;

    /** 使用面积 */
    @Excel(name = "使用面积")
    private String useAre;

    /** 房间类型 */
    @Excel(name = "房间类型")
    private String roomsType;

    /** 使用类型 0分户 1楼栋 2其他 */
    @Excel(name = "使用类型 0分户 1楼栋 2其他")
    private String useType;

    /** 安装位置 */
    @Excel(name = "安装位置")
    private String install;

    /** 阀门开度 */
    @Excel(name = "阀门开度")
    private String valveOpening;

    /** 户主姓名 */
    @Excel(name = "户主姓名")
    private String personName;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String card;

    /** 电话号码 */
    @Excel(name = "电话号码")
    private String phone;

    /** 供暖类型  0一户一表 1一户一表阀 2NB采温器 3串联 4户表 5一体化 6平衡阀*/
    private String heatType;

    /** 采暖面积 */
    private String heatArea;

    /** 用热状态 0供热 1报停 2强停 3退网 */
    private String heatState;

    /** 合同开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String contractStar;

    /** 合同结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private String contractEnd;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }
    public void setDept(String dept) 
    {
        this.dept = dept;
    }

    public String getDept() 
    {
        return dept;
    }
    public void setCommunityId(Long communityId) 
    {
        this.communityId = communityId;
    }

    public Long getCommunityId() 
    {
        return communityId;
    }
    public void setCommunityName(String communityName) 
    {
        this.communityName = communityName;
    }

    public String getCommunityName() 
    {
        return communityName;
    }
    public void setBuildingId(Long buildingId) 
    {
        this.buildingId = buildingId;
    }

    public Long getBuildingId() 
    {
        return buildingId;
    }
    public void setBuildingName(String buildingName) 
    {
        this.buildingName = buildingName;
    }

    public String getBuildingName() 
    {
        return buildingName;
    }
    public void setUnitName(String unitName) 
    {
        this.unitName = unitName;
    }

    public String getUnitName() 
    {
        return unitName;
    }
    public void setHouseNumber(String houseNumber) 
    {
        this.houseNumber = houseNumber;
    }

    public String getHouseNumber() 
    {
        return houseNumber;
    }
    public void setArea(String area) 
    {
        this.area = area;
    }

    public String getArea() 
    {
        return area;
    }
    public void setUseAre(String useAre) 
    {
        this.useAre = useAre;
    }

    public String getUseAre() 
    {
        return useAre;
    }
    public void setRoomsType(String roomsType) 
    {
        this.roomsType = roomsType;
    }

    public String getRoomsType() 
    {
        return roomsType;
    }
    public void setUseType(String useType) 
    {
        this.useType = useType;
    }

    public String getUseType() 
    {
        return useType;
    }
    public void setInstall(String install) 
    {
        this.install = install;
    }

    public String getInstall() 
    {
        return install;
    }
    public void setValveOpening(String valveOpening) 
    {
        this.valveOpening = valveOpening;
    }

    public String getValveOpening() 
    {
        return valveOpening;
    }
    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }
    public void setCard(String card) 
    {
        this.card = card;
    }

    public String getCard() 
    {
        return card;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public String getHeatType() {
        return heatType;
    }

    public void setHeatType(String heatType) {
        this.heatType = heatType;
    }

    public String getHeatArea() {
        return heatArea;
    }

    public void setHeatArea(String heatArea) {
        this.heatArea = heatArea;
    }

    public String getHeatState() {
        return heatState;
    }

    public void setHeatState(String heatState) {
        this.heatState = heatState;
    }

    public String getContractStar() {
        return contractStar;
    }

    public void setContractStar(String contractStar) {
        this.contractStar = contractStar;
    }

    public String getContractEnd() {
        return contractEnd;
    }

    public void setContractEnd(String contractEnd) {
        this.contractEnd = contractEnd;
    }

    public String getRoomNo() {
        return roomNo;
    }

    public void setRoomNo(String roomNo) {
        this.roomNo = roomNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("dept", getDept())
            .append("communityId", getCommunityId())
            .append("communityName", getCommunityName())
            .append("buildingId", getBuildingId())
            .append("buildingName", getBuildingName())
            .append("unitName", getUnitName())
            .append("houseNumber", getHouseNumber())
            .append("area", getArea())
            .append("useAre", getUseAre())
            .append("roomsType", getRoomsType())
            .append("useType", getUseType())
            .append("install", getInstall())
            .append("valveOpening", getValveOpening())
            .append("personName", getPersonName())
            .append("card", getCard())
            .append("phone", getPhone())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("heatType", getHeatType())
            .append("heatArea", getHeatArea())
            .append("heatState", getHeatState())
            .append("contractStar", getContractStar())
            .append("contractEnd", getContractEnd())
            .append("roomNo", getRoomNo())
            .append("crew", getCrew())
            .append("heatWay", getHeatWay())
            .append("buildingType", getBuildingType())
            .append("homeType", getHomeType())
                .append("areaId", getAreaId())
                .append("areaName", getAreaName())
                .append("heatId", getHeatId())
                .append("heatName", getHeatName())
            .toString();
    }
}
